package com.blb.community.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community.pojo.Building;
import org.apache.ibatis.annotations.Select;

import java.math.BigInteger;
import java.util.List;

public interface BuildingMapper extends BaseMapper<Building> {

    @Select("select * from zy_building")
    IPage<Building> selectPage(IPage<Building> page);

    List<Building> selectBuildingById(Long current, Long size, String buildingName, String buildingCode, BigInteger communityId);



}
